package com.yygh.hosp.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yygh.model.hosp.Department;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {
    Department getDepartmentByHoscodeAndDepcode(String hoscode,String depcode);
   // Department getDepartmentByHoscode(String hoscode,String depcode);

}
